VhlCfg / File / MifareMode Value

Specifies if addressing of a Mifare Classic/Plus card shall be done via absolute addresses or relative to MAD (Mifare Application Directory) sectors.

Properties

Format

Name Type/Size Description
AccessMode Enumeration (8 bits) (Integer, 8 bits)
Values:
  • Absolute (0x00)
    The sectors are addressed absolute (0 = first sector on card). If sector 0 is specified, only B1, B2 will be used

    Default, if MifareMadAidis not defined.

  • Mad (0x01)
    The sectors are addressed relatively to the MAD (see also MifareMadAid.

    Default, if MifareMadAidis defined.

    I.e. a MifareSectorList with content {1,0} operating on a card containing AID's for sectors {3,10,14} will be mapped to sectors {10,3}.

  • AbsoluteFullS0 (0x02)
    The sectors are addressed absolute (0 = first sector on card). If sector 0 is specified, complete sector 0 will be used (B0..2)